package it.uniroma2.art.coda.pearl.model;

import java.util.Collection;

public class OptionalGraphStruct extends GraphElement {
	
	private Collection<GraphStruct> optionalTriples;
	private ProjectionRule ownerRule;
	
	public OptionalGraphStruct(Collection<GraphStruct> optionalTriples, ProjectionRule ownerRule) {
		this.optionalTriples = optionalTriples;
		this.ownerRule = ownerRule;
	}
	
	public Collection<GraphStruct> getOptionalTriples() {
		return optionalTriples;
	}

	public ProjectionRule getOwnerRule() {
		return ownerRule;
	}

}
